TEMPLATE = app
CONFIG += console
CONFIG -= qt

SOURCES += main.cpp \
    rreye.cpp \
    rrlight.cpp \
    rrprim.cpp \
    rrray.cpp \
    rrcuboid.cpp \
    rrplane.cpp \
    rrquadric.cpp \
    rrtracer.cpp \
    rrmath.cpp \
    rrprimset.cpp \
    rrscreenmapping.cpp

HEADERS += \
    rreye.h \
    rrlight.h \
    rrprim.h \
    rrray.h \
    rrcuboid.h \
    rrplane.h \
    rrquadric.h \
    rrtracer.h \
    rrmath.h \
    rrprimset.h \
    rrscreenmapping.h

LIBS += -I/usr/include/SDL \
    -lSDL \
    -lSDL_image \
    -lm

INCLUDEPATH += /usr/include

QMAKE_CFLAGS += $$system(sdl-config --cflags)

QMAKE_CXXFLAGS += $$system(sdl-config --cflags)

